package com.ruoyi.omp.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 违约金对象 omp_fe_fine
 *
 * @author cjie
 * @date 2021-09-23
 */
@Data
@ApiModel
public class FeFine extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 账单id */
    @Excel(name = "账单id")
    @ApiModelProperty(value = "账单id")
    private String billId;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间")
    @ApiModelProperty(value = "开始时间")
    private Date beginDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间")
    @ApiModelProperty(value = "结束时间")
    private Date endDate;

    /** 欠费金额 */
    @Excel(name = "欠费金额")
    @ApiModelProperty(value = "欠费金额")
    private BigDecimal arrears;

    /** 欠费天数 */
    @Excel(name = "欠费天数")
    @ApiModelProperty(value = "欠费天数")
    private Long arrearsDay;

    /** 违约金系数 */
    @Excel(name = "违约金系数")
    @ApiModelProperty(value = "违约金系数")
    private BigDecimal fineRatio;

    /** 违约金额 */
    @Excel(name = "违约金额")
    @ApiModelProperty(value = "违约金额")
    private BigDecimal fine;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    //以下属性为页面视图属性
    /** 账单编号 */
    @Excel(name = "账单编号")
    @ApiModelProperty(value = "账单编号")
    private String billNum;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty(value = "企业名称")
    private String enterpriseName;

    /** 费用类型名称 */
    @Excel(name = "费用类型名称")
    @ApiModelProperty(value = "费用类型名称")
    private String feeTypeName;
}
